% Takes as input an image, returns a data structure
% containing the grey level values of all the features
% found.

function v = makeVector(im)
    % Get the row and column values of the features.
    [r,c] = features(im);
    v = [];
    % for all the features get the grey level value of the pixel,
    % store in v to be returned.
    for j = 1:size(r)
        x = im(r(j),c(j));
        v(j) = x;
    end